package com.satan.novel.user.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @Author: Demon
 * @Date: 2024/2/5 21:08
 * @Description: 用户密码更新 请求DTO
 **/
@Data
public class UserPwdUptReqDto {
    private Long userId;
    @Schema(description = "旧密码", required = true)
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;
    @Schema(description = "新密码", required = true)
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
